package xyz.bali16.module.netdisk.model.filefolder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加文件夹")
public class FileFolderAddParam {

    @ApiModelProperty(name = "name", value = "文件夹名字", required = true)
    @NotNull(message = "文件夹名字不可为空")
    private String name;

    @ApiModelProperty(name = "parentFolderId", value = "父文件夹Id", required = true)
    @NotNull(message = "父文件夹Id不可为空")
    private String parentFolderId;

    @ApiModelProperty(name = "fileStorageId", value = "文件仓库Id", required = true)
    @NotNull(message = "文件仓库Id不可为空")
    private String fileStorageId;
}
